package com.exam.online.system.service;

import com.exam.online.system.entity.Question;
import com.exam.online.system.util.PageModel;
import com.exam.online.system.util.ResponseModel;

import java.util.List;

/**
 * @description:
 * @author: zp
 * @date: 2019-05-06 15:22
 */
public interface QuestionService {
    Integer addQuestion(Integer type, String title, String optiona, String optionb, String optionc, String optiond,
                     String answer, Integer score, Integer grade, Integer courseId);

    ResponseModel findQuestionByCondition(String courseName, Integer gradeId);

    PageModel getAllQuestion(Integer pageNo, Integer pageSize);
}
